package com.game.data.constant
{
    public class AddEffectType
    {
        public static const STUN:int = 101;
        
        public static const FROZEN:int = 102;
        
        public static const FIRE:int = 103;
        
        public static const ELECTRIC:int = 104;
        
        public static const POISON:int = 105;
        
        public static const SLEEP:int = 106;
        
        public static const SPEED_DOWN:int = 107;
        
        public static const SPEED_UP:int = 108;
        
        //猴子被动灼烧
        public static const ROLE1_PASSIVE_FIRE:int = 201;
        //火眼金睛buff
        public static const ROLE1_SKILL_HYJJ:int = 202;
        
        public static function isToughControl(type:int):Boolean
        {
            const arr:Array = [
                    STUN,
                    FROZEN,
                    SLEEP
            ]
            return arr.indexOf(type) != -1;
        }
    }
}
